<template>
  <div>
    <h2>我是用户界面</h2>
    <p>我是用户相关信息</p>
    <h2>{{userid}}</h2>
  </div>
</template>
<script>
export default {
  name: "User",
  computed:{
    userid(){
      //拿到当前活跃的路由
      return this.$route.params.userid
    }
  }
}
</script>

<style scoped>

</style>
